<template>
  <div class="nav">
    <router-link to="/goods" tag="div" class="nav-item">商品</router-link>
    <router-link to="/ratings" tag="div" class="nav-item">评论</router-link>
    <router-link to="/sellers" tag="div" class="nav-item">商家</router-link>
  </div>
</template>
<script>
export default {
  name: 'SellNav'
}
</script>
<style lang="stylus" scoped>
.nav
  display flex
  width 100%
  height .8rem
  line-height .8rem
  border-bottom .02rem solid rgba(7, 17, 27, 0.1)
  .nav-item
    flex 1
    text-align center
    font-size .28rem
    color rgb(77, 85, 93)
  .router-link-active
    color rgb(240, 20, 20)
</style>
